package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工资标准对象 salary_standard
 * 
 * @author mgy
 * @date 2022-11-13
 */
@TableName("salary_standard")
public class SalaryStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 月基本工资标准 */
    @Excel(name = "月基本工资标准")
    private BigDecimal basicWageStandard;

    /** 月固定工资标准 */
    @Excel(name = "月固定工资标准")
    private BigDecimal fixedWageStandard;

    /** 月绩效工资标准 */
    @Excel(name = "月绩效工资标准")
    private BigDecimal performanceSalaryStandard;

    /** 月生活津贴标准 */
    @Excel(name = "月生活津贴标准")
    private BigDecimal subsistenceAllowanceStandard;

    /** 岗位编码 */
    private String postCode;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String postName;

    /** 岗位工资的第一级标准 */
    @Excel(name = "岗位工资的第一级标准")
    private BigDecimal postSalaryStandard;

    /** 在上级的绩效工资标准上增加的钱 */
    @Excel(name = "在上级的绩效工资标准上增加的钱")
    private BigDecimal levelMoney;

    /** 状态 */
    @Excel(name = "状态", readConverterExp = "0=停用,1=启用")
    private String status;
    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getUpdateBy() {
        return updateBy;
    }

    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicWageStandard(BigDecimal basicWageStandard) 
    {
        this.basicWageStandard = basicWageStandard;
    }

    public BigDecimal getBasicWageStandard() 
    {
        return basicWageStandard;
    }
    public void setFixedWageStandard(BigDecimal fixedWageStandard) 
    {
        this.fixedWageStandard = fixedWageStandard;
    }

    public BigDecimal getFixedWageStandard() 
    {
        return fixedWageStandard;
    }
    public void setPerformanceSalaryStandard(BigDecimal performanceSalaryStandard) 
    {
        this.performanceSalaryStandard = performanceSalaryStandard;
    }

    public BigDecimal getPerformanceSalaryStandard() 
    {
        return performanceSalaryStandard;
    }
    public void setSubsistenceAllowanceStandard(BigDecimal subsistenceAllowanceStandard) 
    {
        this.subsistenceAllowanceStandard = subsistenceAllowanceStandard;
    }

    public BigDecimal getSubsistenceAllowanceStandard() 
    {
        return subsistenceAllowanceStandard;
    }
    public void setPostCode(String postCode) 
    {
        this.postCode = postCode;
    }

    public String getPostCode() 
    {
        return postCode;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setPostSalaryStandard(BigDecimal postSalaryStandard) 
    {
        this.postSalaryStandard = postSalaryStandard;
    }

    public BigDecimal getPostSalaryStandard() 
    {
        return postSalaryStandard;
    }
    public void setLevelMoney(BigDecimal levelMoney) 
    {
        this.levelMoney = levelMoney;
    }

    public BigDecimal getLevelMoney() 
    {
        return levelMoney;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basicWageStandard", getBasicWageStandard())
            .append("fixedWageStandard", getFixedWageStandard())
            .append("performanceSalaryStandard", getPerformanceSalaryStandard())
            .append("subsistenceAllowanceStandard", getSubsistenceAllowanceStandard())
            .append("postCode", getPostCode())
            .append("postName", getPostName())
            .append("postSalaryStandard", getPostSalaryStandard())
            .append("levelMoney", getLevelMoney())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
